<% content_for :title do %>用户文件夹<% end %>

<%= render :partial=>'/layouts/breadcrumb',:locals=>{:object=>@user_folder}%>




<% if @user_folder.owner_id == current_user.id || current_user.is_sys_admin %>
<%= link_to new_user_folder_folder_path(:user_folder_id=>@user_folder.id),:class=>'btn btn-primary btn-sm' do %>
<span class="glyphicon glyphicon-folder-close"></span> 新建文件夹
<%end%>

<%= link_to new_doc_path(:user_folder_id=>@user_folder.id), :class=>'btn btn-primary btn-sm' do %>
<span class="glyphicon glyphicon-plus"></span> 新建文件
<%end%>

<%= link_to muti_new_docs_path(:user_folder_id=>@user_folder.id),:class=>'btn btn-primary btn-sm' do %>
<span class="glyphicon glyphicon-upload"></span> 批量上传
<%end%>


<%end%>

<%= render :partial => "/docs/grid",:locals=>{:docs=>@docs} %>
